POV-Ray : Newsgroups : povray.text.scene-files : Missing glows in 3.5? An alternative solution : Re: Missing glows in 3.5? An alternative solution Server Time
5 Jul 2024 10:38:05 EDT (-0400)
  Re: Missing glows in 3.5? An alternative solution  
From: Rob Brown-Bayliss
Date: 2 Oct 2001 06:17:16
Message: <3bb9942c@news.povray.org>
In article <3ba1fac9@news.povray.org>, "Warp" <war### [at] tagpovrayorg> wrote:
Hi, I am running pov-ray 3.1, and it bombs on teh method 3 command in the
macr below.

Is this a failing of 3.1 or is somethng else wrong?

> ----------8<------------8<-------------8<-------------8<-------------8<-----
> #macro Glow(GlowColor, Scale)
>   sphere
>   { 0, 1 hollow no_shadow
>     pigment { rgbt 1 }
>     interior
>     { media
>       { emission 1/Scale
>         density
>         { spherical density_map
>           { [0 rgb 0][.5 rgb GlowColor*.5][1 rgb 1] }
>         }
>         samples 1,1 intervals 1 confidence .1 // quite fast settings
>         method 3
>       }
>     }
>     scale Scale
>   }
> #end
> 
> camera { location -z*10 look_at 0 angle 35 } plane { y,-2 pigment {
> checker rgb 1, rgb .5 } }
> 
> light_source
> { <-1.5,1,0>, <1,.5,0>
>   looks_like { Glow(<1,.5,0>, .5) }
> }
> light_source
> { <2,.5,0>, <0,.5,1>
>   looks_like { Glow(<0,.5,1>, 1) }
> }
> ----------8<------------8<-------------8<-------------8<-------------8<-----
> 


-- 

  Rob Brown-Bayliss
 ---======o======---


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.